import sceneutil from "../utils/sceneutil";

export default class yaoqingjiangli extends Laya.Script {
    constructor() {
        super();
    }

    onEnable() {
        let btnClose = this.owner.getChildByName('btnclose') as Laya.Button;
        btnClose.on("click", this, () => {
            sceneutil.Instance.hideBlackBack()
            Laya.Scene.close("yaoqingjiangli.scene");
        })
    }
}